import EventEmitter from "@/utils/EventEmitter";

export const EVENTS = {
    ENTER_PAGE: '进入页面时',
    SORT_START: '排序开始',
    ROUND_START: '一轮排序开始',
    SWAP: '元素发生交换',
    SORT_END: '排序结束',
}


export const emitter = new EventEmitter<keyof typeof EVENTS>()